import tkinter as tk

root = tk.Tk()

# 定义 2x2 的网格盒子
btn1 = tk.Button(root, text="(0,0)")
btn2 = tk.Button(root, text="(0,1)")
btn3 = tk.Button(root, text="(1,0)")
btn4 = tk.Button(root, text="(1,1)")

btn1.grid(row=0, column=0, padx=5, pady=5)
btn2.grid(row=0, column=1, padx=5, pady=5)
btn3.grid(row=1, column=0, padx=5, pady=5)
btn4.grid(row=1, column=1, padx=5, pady=5)

root.mainloop()